$('#login').click(function () {
    $.ajax({
        url: "/citrusmonitor/expert.do?method=login",
        type: "post",
        contentType: "application/x-www-form-urlencoded;charset=utf-8",
        data: {
            "expertName": $("#expert_name").val(),
            "password": $("#password").val(),
            "checkedCode": $("#check-code").val(),
        },
        
        dataType: "json",
        success: function (msg) {
        	console.log(msg);
            if (msg.status==1) {
                alert("登录成功！！！")
                window.location.href ="/citrusmonitor/question_ul_exp.html";
            } else {
                alert("登录失败！！！！" );
            }
        },
        error:function(){
            alert("资源加载失败！！！");
        }
    })
})